package com.campus.backend.bean.coupon;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 更新优惠券参数
 *
 * @author System
 * @since 2025-01-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "更新优惠券参数")
public class UpdateCouponBean extends CreateCouponBean {

    @ApiModelProperty("优惠券ID")
    @NotNull(message = "优惠券ID不能为空")
    private Integer id;
}